package com.naihe.anderson.sms.entity;

import java.io.Serializable;

public class RecordMoney implements Serializable, Comparable<RecordMoney>{

	public static final short ACTION_TYPE_EXPENDITURE = 0;
	public static final short ACTION_TYPE_INCOME = 1;
	
	public static final String RMID = "rmid";
	public static final String MONEYNUM = "moneyNum";
	public static final String PROJECT = "project";
	public static final String PROJECTPIC = "projectPic";
	public static final String CREATETIME = "createTime";
	public static final String OBJECTMEMBER = "objectMember";
	public static final String REMARKS = "remarks";
	public static final String ACTIONTYPE = "actionType";
	public static final String LOATION = "loation";
	
	public long rmid;
	public float moneyNum;
	public String project;//支出或收入项目
	public String projectPic;
	public long createTime;
	public String objectMember;//成员
	public String remarks;
	public short actionType;//支出--收入
	public String loation;//发生地址
	/**
	 * 
	 */
	private static final long serialVersionUID = 75745704330L;

	@Override
	public int compareTo(RecordMoney another) {
		if(another.createTime > createTime)
			return 1;
		else
			return -1;
	}

}
